[INFO] cloning repository https://github.com/birchling/multi-otsu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/birchling/multi-otsu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0349784df2784ea107b5c1c0021d260a55ec045f
[INFO] building birchling/multi-otsu against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/birchling/multi-otsu on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/birchling/multi-otsu
[INFO] finished tweaking git repo https://github.com/birchling/multi-otsu
[INFO] tweaked toml for git repo https://github.com/birchling/multi-otsu written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/birchling/multi-otsu already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4cfc3963d6c5e1beb563c2227b39b67e9b47b7ce65d271987733cb36330a5d6e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4cfc3963d6c5e1beb563c2227b39b67e9b47b7ce65d271987733cb36330a5d6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4cfc3963d6c5e1beb563c2227b39b67e9b47b7ce65d271987733cb36330a5d6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cfc3963d6c5e1beb563c2227b39b67e9b47b7ce65d271987733cb36330a5d6e", kill_on_drop: false }`
[INFO] [stdout] 4cfc3963d6c5e1beb563c2227b39b67e9b47b7ce65d271987733cb36330a5d6e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 640df6ce9aac6ae5373bece2f420dc1edd13210f7c9027d5daf9b18f9077acb2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "640df6ce9aac6ae5373bece2f420dc1edd13210f7c9027d5daf9b18f9077acb2", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling matrixmultiply v0.1.15
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling rawpointer v0.1.0
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling itertools v0.7.11
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling crossbeam-queue v0.2.0
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling png v0.15.2
[INFO] [stderr]    Compiling rayon-core v1.6.1
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling rayon v1.2.1
[INFO] [stderr]    Compiling rusttype v0.8.2
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling rulinalg v0.4.2
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling num v0.2.0
[INFO] [stderr]    Compiling tiff v0.3.1
[INFO] [stderr]    Compiling image v0.22.3
[INFO] [stderr]    Compiling imageproc v0.19.2
[INFO] [stderr]    Compiling multi-otsu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `histogram` in this scope
[INFO] [stdout]   --> src/main.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let hist = histogram(image);
[INFO] [stdout]    |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use imageproc::stats::histogram;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `best_threshold` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             best_threshold = threshold as u8;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `best_thresholds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `best_threshold` in this scope
[INFO] [stdout]   --> src/main.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     best_threshold
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `best_thresholds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Luma`
[INFO] [stdout]  --> src/main.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{open, GrayImage, Luma};
[INFO] [stdout]   |                              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `otsu_level`, `threshold`
[INFO] [stdout]  --> src/main.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use imageproc::contrast::{otsu_level, threshold};
[INFO] [stdout]   |                           ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `multi-otsu`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "640df6ce9aac6ae5373bece2f420dc1edd13210f7c9027d5daf9b18f9077acb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "640df6ce9aac6ae5373bece2f420dc1edd13210f7c9027d5daf9b18f9077acb2", kill_on_drop: false }`
[INFO] [stdout] 640df6ce9aac6ae5373bece2f420dc1edd13210f7c9027d5daf9b18f9077acb2
